import request from '@/hook/interceptors'

// 获取user列表
export const getCategory = () => {
    return request({
        url: import.meta.env.VITE_USER_PATH + "/category",
        method: "get",
    });
};

// 获取热门category列表
export const getHotCategorys = () => {
    return request({
        url: import.meta.env.VITE_USER_PATH + "/category/hot",
        method: "get",
    });
};